package com.wonders.common.constant;

/**
 * 通用变量
 * 
 * @author WuBin
 * 
 */
public class CommonConstant {

	/**
	 * 动作
	 * 
	 * @author WuBin
	 * 
	 */
	public interface Action {

		/**
		 * 新增
		 */
		public static final String ADD = "add";

		/**
		 * 修改
		 */
		public static final String EDIT = "edit";

		/**
		 * 查看
		 */
		public static final String VIEW = "view";

	}

	/**
	 * 状态
	 * 
	 * @author WuBin
	 * 
	 */
	public interface Status {

		/**
		 * 有效
		 */
		public static final Integer ENABLED = Integer.valueOf(1);

		/**
		 * 无效
		 */
		public static final Integer DISABLED = Integer.valueOf(0);

	}

	/**
	 * 交互
	 * 
	 * @author WuBin
	 * 
	 */
	public interface Interaction {

		/**
		 * 请求
		 */
		public static final String REQ = "Req";

		/**
		 * 响应
		 */
		public static final String RES = "Res";

	}

}
